package io.renren.modules.meta.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.meta.entity.SubjectEntity;
import io.renren.modules.subject.entity.BasePersons;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author linyuan
 * @email linyuan@gmail.com
 * @date 2023-08-16 11:14:40
 */
public interface SubjectService extends IService<SubjectEntity> {
    PageUtils queryPage(Map<String, Object> params);

    List<Map<String, Object>> getTableInfoBySubjectName(String subjectName);

    Map<String, Object> getSubjectByTableId(Long tableId, Long subjectId);
    BasePersons getPersonBySubjectName(String subjectName, Long subjectId);

    Long getTableIdByTableName(String subjectTableName);
}

